package com.itheima.pojo;


import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
public class EmpQueryParam {

    private Integer page=1;       //页码
    private Integer pageSize=10;   //显示数据
    private String name;       //姓名
    private Integer gender;     //性别
    private String phone;       //手机号
    @DateTimeFormat(pattern = "yyyy-MM-dd")   //入职时间开始范围
    private LocalDateTime begin;
    @DateTimeFormat(pattern = "yyyy-MM-dd")    //入职时间结束范围
    private LocalDateTime end;




}
